package com.settlement.system.model.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * <p>
 * 拼多多保证金明细导入VO
 * </p>
 *
 * @author huangrensen
 * @since 2024-05-28
 */
@Schema
@Data
public class PddDepositImportVo implements Serializable {
    @ExcelProperty(value = "入账时间")
    private String billTime;
    @ExcelProperty(value = "账户类型")
    private String accountType;
    @ExcelProperty(value = "账务类型")
    private String billType;
    @ExcelProperty(value = "收入金额（+元）")
    private String incomeAmount;
    @ExcelProperty(value = "支出金额（-元）")
    private String payAmount;
    @ExcelProperty(value = "备注")
    private String remark;
    @ExcelProperty(value = "业务描述")
    private String businessRemark;

    @ExcelIgnore
    private String billMonth;

    @ExcelIgnore
    private Long storeId;

    @ExcelIgnore
    private String uuid;

    public static Map<String, String> getKeyMap() {
        Map<String, String> map = new HashMap<>();
        map.put("店铺ID", "storeId");
        map.put("入账时间", "billTime");
        map.put("账户类型", "accountType");
        map.put("账务类型", "billType");
        map.put("收入金额（+元）", "incomeAmount");
        map.put("支出金额（-元）", "payAmount");
        map.put("备注", "remark");
        map.put("业务描述", "businessRemark");
        return map;
    }
}
